package com.roc.template.mysql.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.data.annotation.CreatedDate;

import java.util.Date;

/**
 * @ClassName Order
 * @Description: TODO
 * @Author Administrator
 * @Date 2020/7/20 14 11
 * @Version V1.0
 **/
@Data
@ApiModel(value = "订单表")
public class Order {

    private String id;
    @ApiModelProperty(value="用户名称")
    private String name;
    @ApiModelProperty(value="手机号")
    private String phone;

    @CreatedDate
    private Date createTime;
}
